Welcome![Sign In][Sign Up]
Location:
Search - compiler parser code

Search list

[ELanguagegrammatica-1.4.tar.gz

Description: Grammatica is a C# and Java parser generator (compiler compiler). It improves upon simlar tools (like yacc and ANTLR) by creating well-commented and readable source code, by having automatic error recovery and detailed error messages, and by support for testing and debugging grammars without generating source code. It supports LL(k) grammars with an unlimited number of look-ahead tokens.
Platform: | Size: 633058 | Author: | Hits:

[ELanguage4124668

Description: 简单的c编译器词法分析器、语法分析器和中间代码生成器-simple c compiler lexical analyzer and parser and intermediate code generator
Platform: | Size: 4365 | Author: 张亮 | Hits:

[ELanguage编译原理---算浮优先算法

Description: 简单介绍一下,整个工程分为5个文件:Main.c ----- 程序的入口点,其实很简单,就是调用两个函数。Global.h ----- 定义了一些全局变量及宏Parse.h ----- 语法分析器的主要算法Prece.h ----- 定义和实现了一些关于优先级的操作Stack.h ----- 定义和实现了一个栈及其操作编译的时候只要用TC2.0或者WinTC打开Main.c文件进行编译就好了。如发现有Bug请在这里贴出来或者把修改后的代码跟帖在这里:)总之,这个工程仅仅是一个简单示例,告诉大家怎么样把课堂上学到的知识运用到实际编程当中去,工程中所用到的模块化思想,数据结构等知识都是大家学过的,大三了,希望大家在最后这段时间里把写程序的本领练就出来。:)-brief introduction, the entire project is divided into five documents : Main.c ----- procedure entry point, it is actually very simple, it is called two functions. Global.h ----- definition of global variables and Wang Parse.h ----- parser the main algorithm Prece.h ----- definition and realization of a number of priority the operation Stack.h ----- the definition and implementation of a stack and operation of the compiler used whenever WITH TC 2.0 or WinTC open Main.c documents compiled enough. If found please Bug out here or affixed to amend the code of Columbia here :) Overall, the project is just a simple example, like to tell you how to put classroom knowledge to use them to the actual program, which works to use the modular thinking, data structure knowledge we learned, the Ruins of
Platform: | Size: 12104 | Author: 李雷 | Hits:

[ELanguagePascal语言的语法分析器

Description: Pascal语言的语法分析器源程序和开发文档,用Yacc编写,可作为编译原理课程的学习参考,源文件已编译通过-Pascal language parser source code and documentation, prepared with Yacc, as compiler theory courses of study reference source documents compiled by
Platform: | Size: 5554 | Author: Amethyst | Hits:

[Other编译原理双语书

Description:

编译原理双语书   Moving on to the code generation, the goal of this phase is to build a compiler given that the programs in the phase of parser have been strictly recognized without any error, here the error means that the input is an illegal sentence in the grammar. However, before generating code, first you need to build the bar-bones recognizer.     

 We need create some temporary variables and maintain internally by the compiler. The step of generating Code is as follows. First, create a mechanism for allocating temporaries. In fact, the temporaries should be recycled, that is they should be reused after they are no longer needed in the current subexpression. Second, determine the name of the temporary that  uses arguments and return values. So, this section of code generator consists of generating code for a binary operator, generating code for a copy instruction, generating code for an instruction which loads the argument into a register, and then write it onto the new stack frame, including the standard call sequence and the standard return sequence.  


Platform: | Size: 2519805 | Author: joan18 | Hits:

[ELanguageYacc1824_ref_951

Description: Yacc说明及使用文档 yacc(Yet Another Compiler Compiler),是Unix/Linux上一个用来生成编译器的编译器(编译器代码生成器)。yacc生成的编译器主要是用C語言寫成的语法解析器(Parser),需要与词法解析器Lex一起使用,再把兩部份產生出來的C程序一併編譯。yacc本來只在Unix系統上才有,但現時已普遍移植往Windows及其他平台。-Yacc description and use of documents yacc (Yet Another Compiler Compiler), is a Unix/Linux used to generate a compiler compiler (compiler code generator). yacc compiler-generated is mainly used C language grammar parser (Parser), need to be used in conjunction Lex lexical parser, and then arose from the two parts of C procedures together with the compiler. yacc originally only in Unix systems only, but has generally been transplanted to the existing Windows and other platforms.
Platform: | Size: 525312 | Author: 石头 | Hits:

[ELanguageText1

Description: 一个用Parser Generator编译的代码,可以生成词法分析的C++代码,然后用VC编译-Parser Generator with a compiled code, can be generated by lexical analysis of the C++ Code, and then use the VC compiler
Platform: | Size: 1024 | Author: 王云 | Hits:

[Compress-Decompress algrithms497741fengsuyun

Description: LR分析器的实现代码,相信能对编译原理学习的人有所帮助,针对代码有详细的解释-LR parser codecode, I believe that the compiler can learn the principle of help, for detailed explanations on the code
Platform: | Size: 6144 | Author: kongqingzhou | Hits:

[JSP/JavaPLO

Description: 一个PLO编译器的实现 词法分析 语法分析 代码生成-Implementation of a PLO compiler lexical analysis parser code generation
Platform: | Size: 32768 | Author: sunshine | Hits:

[ELanguageLexical-Analyzer-Parser-compiler

Description: Parses forwards and backwards. -Scans forwards and backwards. -Get the delimiter that was found. -Get the offset at where the token was started. -Get the current offset of the parser. -Add any number of delimiters. -Support for delimiter lists. Instead of removing all delimiters and adding one by one, just set the delimiter list. Can be used for easier parsing out of comments. -Unicode/Ansi Support Included is also 5 tests showing all the functions in action. Sample text is mostly a snippet of C++ source code except for one test. Shows the ease of use for parsing with support multiple delimiters.
Platform: | Size: 51200 | Author: majid | Hits:

[ELanguagecode

Description: 上大学时为了完成编译原理试验任务,用Java实现的一个语法分析器。-In college, compiler theory test in order to complete the task, with the Java implementation of a parser.
Platform: | Size: 14336 | Author: liushaofeng | Hits:

[ELanguage111

Description: 编译原理实验 语法分析程序源代码 递归下降法-Principle experiment parser compiler source code recursive descent
Platform: | Size: 1024 | Author: 张小楠 | Hits:

[ELanguageLexaYacc_ChineseEdition2

Description: 《Lex与Yacc》中文第二版 Lex 和 Yacc 是 UNIX 两个非常重要的、功能强大的工具。事实上,如果你熟练掌握 Lex 和 Yacc 的话,它们的强大功能使创建 FORTRAN 和 C 的编译器如同儿戏。Ashish Bansal 为您详细的讨论了编写自己的语言和编译器所用到的这两种工具,包括常规表达式、声明、匹配模式、变量、Yacc 语法和解析器代码。最后,他解释了怎样把 Lex 和 Yacc 结合起来。-" Lex and Yacc" Chinese Second Edition Lex and Yacc is the UNIX two very important, powerful tools. In fact, if you mastery of Lex and Yacc, their powerful functions to create FORTRAN and C compiler as a trifling matter. Ashish Bansal for your detailed discussion of writing their own language and compiler uses these two tools, including regular expressions, statements, matching model, variable, Yacc grammar and parser code. Finally, he explains how to combine Lex and Yacc.
Platform: | Size: 5744640 | Author: kanglihe | Hits:

[Bookspl0Separation-parser

Description: 编译原理课程设计内容:将解释器从已有代码中分离出来,形成一个独立的解释器,对于中间代码文件,可以执行并输出相应的结果。 在VC++6.0上编译成功并可执行。 -Compiler theory of curriculum design: will explain separated from the existing code, the formation of an independent interpreter for intermediate code file, you can execute and output the corresponding results. Compiled in VC++6.0 successful and enforceable.
Platform: | Size: 299008 | Author: 开心 | Hits:

[ELanguageTinyP-Compiler

Description: C++实现Tiny+编译器课程实验,包含 (1) Scanner模块 (2) Parser模块 (3) Semantic模块 (4) Code Generator模块 -The achieve Tiny+ compiler course experiment C++ Parser module (3) Semantic module (4) Code Generator module contains (1) Scanner module (2)
Platform: | Size: 174080 | Author: | Hits:

[Internet-NetworkCode

Description: Ethernet帧结构解析程序 程序为命令行程序,可执行文件名为FrameParser.exe,命令行格式如下: FrameParser.exe inputfile VC++ 6.0 编译运行通过-Ethernet frame structure parser program command line program executable file named FrameParser.exe, command line format is as follows: FrameParser.exe the inputfile VC++ 6.0 compiler run by
Platform: | Size: 10240 | Author: Rarelin | Hits:

[ELanguagehw3

Description: compiler parser use flex to create parser code for simple c program
Platform: | Size: 58368 | Author: Jeff | Hits:

[ELanguagecompiler

Description: 编译器实验报告。包括词法分析器,语法分析器,中间代码生成以及整个编译器。-Compiler experimental report. Including lexical analyzer and parser, intermediate code generation and the entire compiler.
Platform: | Size: 788480 | Author: 徐瑞 | Hits:

[ELanguagecode

Description: 编译原理,预测分析器,可求出first集,follow集,并构造出LL(1)分析器-Compiler theory, prediction analyzer can be obtained first set, follow set, and construct LL (1) parser
Platform: | Size: 1632256 | Author: jue | Hits:

[ELanguagecode

Description: 算符优先语法分析程序的设计和实现(编译原理作业)-Design and implementation (compiler principles job) operator precedence parser
Platform: | Size: 185344 | Author: 猫物语47 | Hits:
« 1 23 4 »

CodeBus www.codebus.net